package com.gz.university.crm.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
/**
 * 记录权限组主键，模块名称，操作名称
 * @author jack
 *
 */
@Entity
@Table
@IdClass(SysPopedomPrivilegeId.class)
public class SysPopedomPrivilege {
	private Integer roleId;//权限组编号
	private String popedomModule;// 模块名称
	private String popedomPrivilege;// 操作名称
    @Id
	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
    @Id
    @Column(length=30)
	public String getPopedomModule() {
		return popedomModule;
	}

	public void setPopedomModule(String popedomModule) {
		this.popedomModule = popedomModule;
	}
    @Id
    @Column(length=30)
	public String getPopedomPrivilege() {
		return popedomPrivilege;
	}

	public void setPopedomPrivilege(String popedomPrivilege) {
		this.popedomPrivilege = popedomPrivilege;
	}

}
